<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-check_images" class="form-control" size="50" name="row[check_images]" type="text" value="{$row.check_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-check_images" class="btn btn-danger faupload" data-input-id="c-check_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-check_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-check_images" class="btn btn-primary fachoose" data-input-id="c-check_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-check_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-check_images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Attachfile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-attachfile" class="form-control" size="50" name="row[attachfile]" type="text" value="{$row.attachfile|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-attachfile" class="btn btn-danger faupload" data-input-id="c-attachfile" data-multiple="false" data-preview-id="p-attachfile"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-attachfile" class="btn btn-primary fachoose" data-input-id="c-attachfile" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-attachfile"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-attachfile"></ul>
        </div>
    </div>
    {if condition="$row.type == 1"}
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Look_check')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select  id="c-look_check" class="form-control selectpicker" name="row[look_check]">
                    {foreach name="lookCheckList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.look_check"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Low_check')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select  id="c-low_check" class="form-control selectpicker" name="row[low_check]">
                    {foreach name="lowCheckList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.low_check"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Obd_check')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select  id="c-obd_check" class="form-control selectpicker" name="row[obd_check]">
                    {foreach name="obdCheckList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.obd_check"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Huan_check')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select  id="c-huan_check" class="form-control selectpicker" name="row[huan_check]">
                    {foreach name="huanCheckList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.huan_check"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('An_check')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select  id="c-an_check" class="form-control selectpicker" name="row[an_check]">
                    {foreach name="anCheckList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.an_check"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
    {/if}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('San_check')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-san_check" class="form-control selectpicker" name="row[san_check]">
                {foreach name="sanCheckList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.san_check"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Overtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-overtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[overtime]" type="text" value="" placeholder="注意！！！填写后自动结束验车">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
